package com.dieusoft.box.yardrate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dieusoft.box.info.entity.JzxDefaultCostDetails;
import com.dieusoft.box.yardrate.entity.YardInfo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 堆场费率信息表
 * @Author: dongw
 * @Date: 2021-01-29
 * @Version: V1.0
 */
public interface IYardInfoService extends IService<YardInfo> {

    /**
     * 添加一对多
     */
    public void saveMain(YardInfo yardInfo, List<JzxDefaultCostDetails> jzxDefaultCostDetailsList);

    /**
     * 修改一对多
     */
    public void updateMain(YardInfo yardInfo, List<JzxDefaultCostDetails> jzxDefaultCostDetailsList);

    /**
     * 删除一对多
     */
    public void delMain(String id);

    /**
     * 批量删除一对多
     */
    public void delBatchMain(Collection<? extends Serializable> idList);

}
